package com.es.pay.ctmGrade;

import javax.servlet.http.HttpServletRequest;

import com.opensymphony.webwork.interceptor.ServletRequestAware;
import com.opensymphony.xwork.ActionSupport;

public class RetrieveCtmGradeDetailAction extends ActionSupport implements ServletRequestAware{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	HttpServletRequest request;
	 
	   public String execute()throws Exception
	   {
		   String ctm_grade_id = request.getParameter("ctm_grade_id");
		   CtmGradeBiz ctmBiz = new CtmGradeBiz();
		   request.setAttribute("bean", ctmBiz.getCtmGrade(ctm_grade_id));
		   request.setAttribute("beanRule", new CtmGradeRule());
		   return "success";
	   }
	
	   public void setServletRequest(HttpServletRequest request) {
		     this.request = request;
		   }
}

